W32: Ensure that correct statting function is used by iconcache
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 14 Jan 2016 09:40:58 +0000 (09:40 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 14 Jan 2016 09:44:22 +0000 (09:44 +0000)
commit59f1b87409c587093a68ae52500336b686c5903c
tree238e4caac028201ec2f52ba9f2ac27a7ae043f01
parentd2e80a79934ea59e13e7fe3c4d078e8f7b428213
W32: Ensure that correct statting function is used by iconcache

With Mingw-w64 fstat() can be an inline function that
calls _fstat32() or _fstat64(), depending on some macros.
And if LFS is enabled, fstat() is defined to turn into
_fstat32i64() or _fstat64(). And some/all of the above
might also be macros as well. Side-step all that mess
and excplicitly re-define fstat as _fstat32, which is
guaranteed to use a version of "stat" struct that
has 32-bit size and time fields, which is what we want.

https://bugzilla.gnome.org/show_bug.cgi?id=760615
gtk/gtkiconcache.c